package com.yincheng.oms.sso.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yincheng.oms.sso.entity.UserRole;

@Repository
public interface UserRoleMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserRole record);

    UserRole selectByPrimaryKey(String id);

    int update(UserRole record);
    
    List<UserRole> selectByUserId(String userId);
}